initWeather();

function initWeather() {
	$.get("https://yiketianqi.com/free/week?unescape=1&appid=96663667&appsecret=cf0DmY6a",function(result) {
		var weatherToday = result.data[0];
		$("#weatherToday").html("<img src='/busdata_v2/images/cityBus/"+weatherToday.wea_img+".png' align='absmiddle' style='width:24px;height:24px;'/>" + weatherToday.wea + " <span style='color:#aaaaff'>|</span> <span style='color:#1296db;'>" + weatherToday.tem_night + "℃~" + weatherToday.tem_day + "℃</span> <span style='color:#aaaaff'>|</span> <span style='color:#ffaa00'>" + weatherToday.win + " " + weatherToday.win_speed + "</span>");
		// weatherToday.wea//天气
		// weatherToday.wea_img//图片
		// weatherToday.tem_day//温度
		// weatherToday.win//风
		// weatherToday.win_speed//风速
	});
}